package com.spudtech.utils
{
    
    import flash.utils.Dictionary;
    
    import com.spudtech.*;
    
    
    public class SpudKeyAIR extends SpudKey
    {
        
        // Special key codes for mouse buttons
        public static const LEFT_MOUSE_BUTTON : uint = MOUSE_BUTTON;
        public static const RIGHT_MOUSE_BUTTON : uint = 400;
        public static const MIDDLE_MOUSE_BUTTON : uint = 400;
        
        public function SpudKeyAIR()
        {
            super();
            
            // Do AIR stuff here...
            
        }
        
        
        override public function getKeyCode(key_name : *) : int
        {
            // Key names are always strings
            // and are not case-sensitive
            key_name = String(key_name).toLowerCase();
            
            // Generate this file
            //include "../util/KeyCodesAIR.as";
            
            // We did not have a match
            return 0;
            
        }
        
        override public function getKeyName(key_code : int) : String
        {
            // Generate this
            //include "../util/KeyNamesAIR.as";
            
            // We did not have a match
            return "";
        }
        
    }
    
}
